<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link rel="stylesheet" href="/assets/css/base.css">
  <link rel="stylesheet" href="/assets/lib/layui/css/layui.css">
  <link rel="stylesheet" href="/page/login/login.css">
  <script src="/node_modules/axios/dist/axios.min.js"></script>
  <script src="/assets/js/baseAPI.js"></script>
  <script src="/assets/lib/layui/layui.all.js"></script>
  <script src="/page/login/login.js"></script>
</head>

<body>
  <!-- 版心 -->
  <div class="layui-container">
    <!-- 头部 -->
    <div class="header">
    </div>
    <!-- 登录和注册大盒子 -->
    <div class="box">
      <!-- 标题 -->
      <div class="header">
        <img src="/assets/images/login_title.png" alt="">
      </div>
      <!-- 登录的大盒子 -->
      <div class="login-box">
        <!--  -->
        <form class="layui-form" action="">
          <div class="layui-form-item">
            <div class="layui-input-block">
              <i class="layui-icon layui-icon-user"></i>
              <input type="text" name="title" required lay-verify="required|username" placeholder="用户" autocomplete="off"
                class="layui-input user-inoput">
            </div>
          </div>
          <div class="layui-form-item">
            <div class="layui-input-block">
              <i class="layui-icon layui-icon-password"></i>
              <input type="text" name="title" required lay-verify="required|pass" placeholder="密码" autocomplete="off"
                class="layui-input password-input">
            </div>
          </div>
          
          <div class=" layui-form-item">
            <div class="layui-input-block">
              <button class="layui-btn loginBtn" lay-submit lay-filter="formDemo">登录</button>
            </div>
          </div>
        </form>
        <!--  -->

        <div class="go-register login-btn">去注册</div>
      </div>
      <!-- 注册的大盒子 -->
      <div class="register-box" style="display: none">
        <!--  -->
        <form class="layui-form" action="">
          <div class="layui-form-item">
            <div class="layui-input-block">
              <i class="layui-icon layui-icon-user"></i>
              <input type="text" name="title" required lay-verify="required|username" placeholder="用户"
                autocomplete="off"
                class="layui-input reg-username">
            </div>
          </div>
          <div class="layui-form-item">
            <div class="layui-input-block">
              <i class="layui-icon layui-icon-password"></i>
              <input type="text" name="title" required lay-verify="required|pass" placeholder="密码" autocomplete="off"
                class="layui-input ispassword">
            </div>
          </div>
<div class="layui-form-item">
  <div class="layui-input-block">
    <i class="layui-icon layui-icon-password"></i>
    <input type="text" name="title" required lay-verify="required|pass|isSame" placeholder="确认密码" autocomplete="off"
      class="layui-input">
  </div>
</div>

          <div class=" layui-form-item">
            <div class="layui-input-block">
              <button class="layui-btn" id="enroll" lay-submit lay-filter="formDemo">注册</button>
            </div>
          </div>
        </form>
        <!--  -->

        <div class="go-login">去登录</div>
      </div>



    </div>
  </div>
</body>

</html>